<template>
  <div>
    <div class="s-morebtn">
      <div class="el-button" @click="morePage">
        查看更多
        <i class="el-icon-arrow-right"></i>
      </div>
    </div>
  </div>
</template>

<script setup>
import { inject } from "vue";
import { useRouter } from "vue-router";

const loginState = inject("loginState");
const route = useRouter();

const morePage = () => {
  loginState().then(() => {
    route.push({ path: "/DataDirectory" });
  });
};
</script>
